package com.cug.campus_sh_market_server.controller;


import com.cug.campus_sh_market_server.entity.param.OrderParam;
import com.cug.campus_sh_market_server.entity.param.goodstype.GoodsTypeAddParam;
import com.cug.campus_sh_market_server.entity.param.goodstype.GoodsTypeQueryParam;
import com.cug.campus_sh_market_server.entity.param.goodstype.GoodsTypeUpdateParam;
import com.cug.campus_sh_market_server.entity.po.GoodsType;
import com.cug.campus_sh_market_server.entity.vo.ResultData;
import com.cug.campus_sh_market_server.entity.vo.goodstype.GoodsTypeVO;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

import static com.cug.campus_sh_market_server.common.constant.UrlConstants.GOODS_TYPE_PREFIX;

/**
 * <p>
 * 商品类型 前端控制器
 * </p>
 *
 * @author sxt
 * @since 2022-03-22
 */
@RestController
@RequestMapping(GOODS_TYPE_PREFIX)
@PreAuthorize("isAuthenticated()")
public class GoodsTypeController
        extends AbsRestfullController
        <GoodsType, GoodsTypeQueryParam, GoodsTypeAddParam, GoodsTypeUpdateParam, GoodsTypeVO> {

}

